<div ng-controller="reportRecordCtrl" class="w_reportRecord cry">
<style>
	.clip-radio{
		margin-top: 5px;
		margin-bottom: 5px;
	}
	.time_box .fa-times-circle{
		right: 25px;
	}

</style>
    <div class="cry_title">
        <h3 class="mainTitle">
            <i class="iconfont icon-tianjiabianji"></i> 
            现场检查记录
        </h3>
        <div class="tools">
            <ul>
                <li>
                    <a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
                </li>
            </ul>
        </div>
    </div>
    <div class="container-fluid bg-white">
        <form role="form" class="form-horizontal cry_form">
            <div class="wtit">
                报备单号：{{code}}
            </div>
           	<div class="kong">
           		
           	</div>
            <div class="form-group">
                <label class="col-sm-1 control-label cry_label" for="inputEmail3">
                    举办者
                </label>
                <div class="col-sm-3">
                	<input ng-model="VM.hold_person" type="text" class="control-label text-left" placeholder="举办者"/>
                </div>
				<label class="col-sm-2 control-label cry_label" for="inputEmail3">
                    举办时间
                </label>
                <div class="col-sm-3">
	                <div class="time_box" class="empty_2">
	                    <div class="input-daterange input-group" style="width: 220px;display: inline-table;vertical-align:middle;" id="order-datepicker-range">
	                        <span class="input-icon">
	                                <input style="width:200px" type="text" class="form-control input-sm" ng-click="startOrderOpen = !startOrderOpen" datepicker-popup="yyyy-MM-dd" ng-model="VM.start_date" is-open="startOrderOpen" ng-init="startOrderOpen = false"  close-text="Close" placeholder="选择时间" />
	                                <i class="fa fa-times-circle" ng-click="VM.start_date=''"></i>
	                                <i class="iconfont icon-rili"></i>
	                        </span>
	                    </div>
	                </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-1 control-label cry_label" for="inputEmail3">
                    承办人
                </label>
                <div class="col-sm-3">
                	<input ng-model="VM.undertake_person" type="text" class="control-label text-left" placeholder="承办人" />
                </div>
                <label class="col-sm-2 control-label cry_label">
                    乡镇备案
                </label>
                <div class="col-sm-3">
                    <div class="clip-radio radio-success">
                        <input type="radio" id="female" name="gender" value="Y" ng-model="VM.is_records">
                        <label for="female">
                            已备案
                        </label>
                        <input type="radio" id="male" name="gender" value="N" ng-model="VM.is_records">
                        <label for="male">
                            未备案
                        </label>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-1 control-label cry_label" for="inputEmail3">
                    检查地址
                </label>
                <div class="col-sm-8">
                	<input style="width:100%" type="text" class="control-label text-left" placeholder="输入地址" ng-model="VM.check_address"/>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-1 control-label" for="inputEmail3">
                </label>
                <div class="col-sm-8">
			        <table ng-table="tableParams" class="table table-hover cry_table table-left table-bordered" template-pagination="templates/custom-pager.html">
			            <thead>
			                <tr>
			                    <th>检查指导内容</th>
			                    <th style="width:180px;">检查情况</th>
			                </tr>
			            </thead>
			            <tbody>
				            <tr>
				                <td>
									农村自办宴席加工场所和食品储存是否远离污染源（禽畜圈养舍、开放式厕所、暴露垃圾）
				                </td>
				                <td>
				                    <div class="clip-radio radio-success">
				                        <input type="radio" id="female_pass1" value="Y" name="pass1" ng-model="VM.is_aloof_pollute">
				                        <label for="female_pass1">
				                            合格
				                        </label>
				                        <input type="radio" id="male_pass1" value="N" ng-model="VM.is_aloof_pollute">
				                        <label for="male_pass1">
				                            不合格
				                        </label>
				                    </div>
				                </td>
				            </tr>
				            <tr>
				                <td>
									加工场所内外清洁卫生是否良好。
				                </td>
				                <td>
				                    <div class="clip-radio radio-success">
				                        <input type="radio" id="female_pass2" value="Y" name="pass2" ng-model="VM.is_well_clean">
				                        <label for="female_pass2">
				                            合格
				                        </label>
				                        <input type="radio" id="male_pass2" value="N" name="pass2" ng-model="VM.is_well_clean">
				                        <label for="male_pass2">
				                            不合格
				                        </label>
				                    </div>
				                </td>
				            </tr>
				            <tr>
				                <td>
									是否专人管理?
									姓名:
									 <input style="width:100px" ng-model="VM.manager_name" type="text" class="control-label text-left" placeholder="姓名"/>
									 电话
									<input style="width:170px" ng-model="VM.manager_phone" type="text" class="control-label text-left" placeholder="电话"/>
				                </td>
				                <td>
				                    <div class="clip-radio radio-success">
				                        <input type="radio" id="female_pass3" value="Y" name="pass3" ng-model="VM.is_special_manager">
				                        <label for="female_pass3">
				                            合格
				                        </label>
				                        <input type="radio" id="male_pass3" value="N" name="pass3" ng-model="VM.is_special_manager">
				                        <label for="male_pass3">
				                            不合格
				                        </label>
				                    </div>
				                </td>
				            </tr>
				            <tr>
				                <td>
									食品加工人员（厨师、帮工）健康状况：是否有健康合格证明；是否有咳嗽、腹泻等症状；是否穿戴清洁的工作衣帽，是否留有长指甲。
				                </td>
				                <td>
				                    <div class="clip-radio radio-success">
				                        <input type="radio" id="female_pass4" value="Y" name="pass4" ng-model="VM.is_health_cooks">
				                        <label for="female_pass4">
				                            合格
				                        </label>
				                        <input type="radio" id="male_pass4" value="N" name="pass4" ng-model="VM.is_health_cooks">
				                        <label for="male_pass4">
				                            不合格
				                        </label>
				                    </div>
				                </td>
				            </tr>
				            <tr>
				                <td>
									加工场所（厨房）是否存放有毒有害物质（农药、鼠药等）。
				                </td>
				                <td>
				                    <div class="clip-radio radio-success">
				                        <input type="radio" id="female_pass5" value="Y" name="pass5" ng-model="VM.is_poisonous_things">
				                        <label for="female_pass5">
				                            合格
				                        </label>
				                        <input type="radio" id="male_pass5" value="N" name="pass5" ng-model="VM.is_poisonous_things">
				                        <label for="male_pass5">
				                            不合格
				                        </label>
				                    </div>
				                </td>
				            </tr>
				            <tr>
				                <td>
									食品及食品原料安全卫生状况：是否新鲜；是否使用高危食品；是否有过期和霉变食品原料；是否使用病死或者死因不明的禽畜肉鱼类；使用的凉菜卤菜色、味是否正常
				                </td>
				                <td>
				                    <div class="clip-radio radio-success">
				                        <input type="radio" id="female_pass6" value="Y" name="pass6" ng-model="VM.is_fresh_foods">
				                        <label for="female_pass6">
				                            合格
				                        </label>
				                        <input type="radio" id="male_pass6" value="N" name="pass6" ng-model="VM.is_fresh_foods">
				                        <label for="male_pass6">
				                            不合格
				                        </label>
				                    </div>
				                </td>
				            </tr>
				            <tr>
				                <td>
									是否有充足的餐具（碗筷盘）并经清洗消毒。
				                </td>
				                <td>
				                    <div class="clip-radio radio-success">
				                        <input type="radio" id="female_pass7" value="Y" name="pass7" ng-model="VM.is_enough">
				                        <label for="female_pass7">
				                            合格
				                        </label>
				                        <input type="radio" id="male_pass7" value="N" name="pass7" ng-model="VM.is_enough">
				                        <label for="male_pass7">
				                            不合格
				                        </label>
				                    </div>
				                </td>
				            </tr>
				            <tr>
				                <td>
									食品加工是否烧熟煮透； 煮熟的食品是否与生食品分开存放；剩菜是否存放到冰箱或者冰柜中；海鲜加工清洗是否使用专用场所和工具。
				                </td>
				                <td>
				                    <div class="clip-radio radio-success">
				                        <input type="radio" id="female_pass8" value="Y" name="pass8" ng-model="VM.foods_condition">
				                        <label for="female_pass8">
				                            合格
				                        </label>
				                        <input type="radio" id="male_pass8" value="N" name="pass8" ng-model="VM.foods_condition">
				                        <label for="male_pass8">
				                            不合格
				                        </label>
				                    </div>
				                </td>
				            </tr>
				            <tr>
				                <td>
									不能及时加工处理的肉类、水产品及其他半成品是否存放在冰柜或者冰箱中。
				                </td>
				                <td>
				                    <div class="clip-radio radio-success">
				                        <input type="radio" id="female_pass9" value="Y" name="pass9" ng-model="VM.store_condition">
				                        <label for="female_pass9">
				                            合格
				                        </label>
				                        <input type="radio" id="male_pass9" value="N" name="pass9" ng-model="VM.store_condition">
				                        <label for="male_pass9">
				                            不合格
				                        </label>
				                    </div>
				                </td>
				            </tr>
				            <tr>
				                <td>
									对上述不规范行为是否已要求承办者现场改正。。
				                </td>
				                <td>
				                    <div class="clip-radio radio-success">
				                        <input type="radio" id="female_pass10" value="Y" name="pass10" ng-model="VM.is_pull_right">
				                        <label for="female_pass10">
				                            合格
				                        </label>
				                        <input type="radio" id="male_pass10" value="N" name="pass10" ng-model="VM.is_pull_right">
				                        <label for="male_pass10">
				                            不合格
				                        </label>
				                    </div>
				                </td>
				            </tr>
			            </tbody>
			        </table>
                </div>
            </div>
         	<div class="form-group">
                <label class="col-sm-1 control-label cry_label" for="inputEmail3">
                    检查指导人员:
                </label>
                <div class="col-sm-3">
                	<input type="text" class="control-label text-left" placeholder="检查指导人员" maxlength="11" ng-model="VM.check_persons"/>
                </div>
				<label class="col-sm-1 control-label cry_label" for="inputEmail3">
                    检查指导时间:
                </label>
                <div class="col-sm-3">
	                <div class="time_box" class="empty_2">
	                    <div class="input-daterange input-group" style="width: 220px;display: inline-table;vertical-align:middle;" id="order-datepicker-range">
	                        <span class="input-icon">
	                                <input style="width:200px" type="text" class="form-control input-sm" ng-click="startOrderOpenS = !startOrderOpenS" datepicker-popup="yyyy-MM-dd" ng-model="VM.start_dates" is-open="startOrderOpenS" ng-init="startOrderOpenS = false" close-text="Close" placeholder="开始时间" />
	                                <i class="fa fa-times-circle" ng-click="VM.start_dates=''"></i>
	                                <i class="iconfont icon-rili"></i>
	                        </span>
	                    </div>
	                </div>
                </div>	
            </div>
         	<div class="form-group">
                <label class="col-sm-1 control-label" for="inputEmail3">
                </label>
                <div class="col-sm-3">
                	<button type="button" class="btn btn-primary" ng-click="submit()">
                        保存
                    </button>
                </div>
            </div>
        </form>
    </div>
</div>